package com.cskaoyan.bean.vo.mall;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Author Ajun de BBC
 * @Date 2022/7/17 12:57
 * @Version 1.5
 */

@Data
public class KeywordListInfo {

    private Integer id;
    private String keyword;
    private String url;
    private Boolean isHot;
    private Boolean isDefault;
    private Integer sortOrder;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" , timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" , timezone = "GMT+8")
    private Date updateTime;
    private Boolean deleted;


    public KeywordListInfo() {
    }

    public KeywordListInfo(Integer id, String keyword, String url, Boolean isHot, Boolean isDefault, Integer sortOrder, Date addTime, Date updateTime, Boolean deleted) {
        this.id = id;
        this.keyword = keyword;
        this.url = url;
        this.isHot = isHot;
        this.isDefault = isDefault;
        this.sortOrder = sortOrder;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }
}
